<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-card>
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane label="角色管理" name="first">
            <roleSetting />
          </el-tab-pane>
          <el-tab-pane label="公司信息" name="second">
            <detail />
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>

<script>
import roleSetting from "@/views/setting/roleSetting";
import detail from "@/views/setting/detail";
export default {
  data() {
    return {
      activeName: "first"
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  },
  components: {
    roleSetting,
    detail
  }
};
</script>

<style>
</style>